export const formConf = {
  formRef: 'elForm',
  formModel: 'formData',
  size: 'medium',
  labelPosition: 'right',
  labelWidth: 100,
  formRules: 'rules',
  gutter: 15,
  disabled: false,
  span: 24,
  formBtns: true
}

export const csmwjHeaderFooterComponents = [{
    __config__: {
      label: '工单头部',
      csmtype: 'question-header',
      tag: 'question-header',
      tagIcon: 'row',
      layout: 'colFormItem',
    },
    csmwjheader: {
      value: '工单标题'
    },
    // csmwjimages: {
    //   value: [],
    // },
    csmwjtext: {
      value: '感谢您能抽出几分钟时间来参加本次答题，现在我们就马上开始吧！'
    },
  },
  {
    __config__: {
      label: '工单底部',
      csmtype: 'question-footer',
      tag: 'question-footer',
      tagIcon: 'row',
      layout: 'colFormItem',
    },
    csmwjtext: {
      value: '您已完成本次工单，感谢您的帮助与支持'
    },
    // csmwjimages: {
    //   value: [],
    // },
  },
  {
    __config__: {
      label: '段落说明',
      csmtype: 'question-bodytext',
      tag: 'question-bodytext',
      tagIcon: 'row',
      layout: 'colFormItem',
    },
    csmwjtext: {
      value: '这个是段落说明文字，请修改。'
    },
  },
]

export const csmwjSelectComponents = [{
    __config__: {
      label: '单选题',
      csmtype: 'question-radio-group',
      tag: 'question-radio-group',
      tagIcon: 'radio',
      layout: 'colFormItem',
    },
    csmwjtitle: {
      value: '请选择一个选项',
    },
    csmwjrequired: {
      value: true,
    },
    // csmwjimages: {
    //   value: [], //{name:'xx',url:'xxx'}
    // },
    csmwjoptions: {
      options: [{
        value: '选项一',
        score: 0
      }, {
        value: '选项二',
        score: 0
      }, {
        value: '选项三',
        score: 0
      }]
    },
    csmwjshowscore: {
      value: null,
      method: null,
      oneanswer: {
        score: null,
        answer: null,
      },
      analysis: null,
      showscore: null
    },
    __answer__: {
      value: null
    }
  },
  {
    __config__: {
      label: '多选题',
      csmtype: 'question-checkbox-group',
      tag: 'question-checkbox-group',
      tagIcon: 'checkbox',
      layout: 'colFormItem',
    },
    csmwjtitle: {
      value: '请选择一个选项',
      image: [], //{name:'xx',url:'xxx'}
    },
    csmwjrequired: {
      value: true,
    },
    // csmwjimages: {
    //   value: [], //{name:'xx',url:'xxx'}
    // },
    csmwjoptions: {
      options: [{
        value: '选项一',
        score: 0
      }, {
        value: '选项二',
        score: 0
      }, {
        value: '选项三',
        score: 0
      }]
    },
    csmwjshowscore: {
      value: null,
      method: null,
      oneanswer: {
        score: null,
        answer: null,
      },
      analysis: null,
      showscore: null
    },
    __answer__: {
      value: null
    }
  },
  {
    __config__: {
      label: '下拉框',
      csmtype: 'question-select-group',
      tag: 'question-select-group',
      tagIcon: 'select',
      layout: 'colFormItem',
    },
    csmwjtitle: {
      value: '请选择一个选项',
    },
    csmwjrequired: {
      value: true,
    },
    // csmwjimages: {
    //   value: [], //{name:'xx',url:'xxx'}
    // },
    csmwjoptions: {
      options: [{
        value: '选项一',
        score: 0
      }, {
        value: '选项二',
        score: 0
      }, {
        value: '选项三',
        score: 0
      }]
    },
    csmwjshowscore: {
      value: null,
      method: null,
      oneanswer: {
        score: null,
        answer: null,
      },
      analysis: null,
      showscore: null
    },
    __answer__: {
      value: null
    }
  },
  {
    __config__: {
      label: '是否题',
      csmtype: 'question-checkbox-yn',
      tag: 'question-checkbox-yn',
      tagIcon: 'checkbox',
      layout: 'colFormItem',
    },
    csmwjtitle: {
      value: '是否勾选',
      image: [], //{name:'xx',url:'xxx'}
    },
    __answer__: {
      value: null
    }
  },
]

export const csmwjInputComponents = [{
  __config__: {
    label: '填空题',
    csmtype: 'question-input',
    tag: 'question-input',
    tagIcon: 'input',
    layout: 'colFormItem',
  },
  csmwjtitle: {
    value: '请填写以下内容',
  },
  csmwjrequired: {
    value: true,
  },
  // csmwjimages: {
  //   value: [], //{name:'xx',url:'xxx'}
  // },
  csmwjinput: {
    defaultvalue: null,
    forceFormat: false,
    format: 'text',
    inputtype: 'input',
    placeholder: '请输入内容',
    format_text_minlength: 0,
    format_text_maxlength: 999,
    format_number_isint: false,
    format_number_min: 0,
    format_number_max: 999,
    format_regex: null,
    format_regex_errormsg: null,
  },
  __answer__: {
    value: null
  }
}];

export const csmwjUserprofileComponents = [{
    __config__: {
      label: '姓名',
      csmtype: 'question-input-realname',
      tag: 'question-input',
      tagIcon: 'input',
      layout: 'colFormItem',
    },
    csmwjtitle: {
      value: '请填写您的姓名',
    },
    csmwjrequired: {
      value: true,
    },
    csmwjinput: {
      defaultvalue: null,
      forceFormat: true,
      format: 'realname',
      inputtype: 'input',
      placeholder: '请输入',
      format_text_minlength: 0,
      format_text_maxlength: 10,
    },
    __answer__: {
      value: null
    }
  },
  {
    __config__: {
      label: '手机',
      csmtype: 'question-input-mobile',
      tag: 'question-input',
      tagIcon: 'input',
      layout: 'colFormItem',
    },
    csmwjtitle: {
      value: '请输入您的手机号码',
    },
    csmwjrequired: {
      value: true,
    },
    csmwjinput: {
      defaultvalue: null,
      forceFormat: true,
      format: 'mobile',
      inputtype: 'input',
      placeholder: '请输入',
      format_text_minlength: 0,
      format_text_maxlength: 10,
    },
    __answer__: {
      value: null
    }
  },
  {
    __config__: {
      label: '邮箱',
      csmtype: 'question-input-email',
      tag: 'question-input',
      tagIcon: 'input',
      layout: 'colFormItem',
    },
    csmwjtitle: {
      value: '请输入您的邮箱',
    },
    csmwjrequired: {
      value: true,
    },
    csmwjinput: {
      defaultvalue: null,
      forceFormat: true,
      format: 'email',
      inputtype: 'input',
      placeholder: '请输入',
      format_text_minlength: 0,
      format_text_maxlength: 10,
    },
    __answer__: {
      value: null
    }
  },
  {
    __config__: {
      label: '身份号码',
      csmtype: 'question-input-idcard',
      tag: 'question-input',
      tagIcon: 'input',
      layout: 'colFormItem',
    },
    csmwjtitle: {
      value: '请输入您的身份号码',
    },
    csmwjrequired: {
      value: true,
    },
    csmwjinput: {
      defaultvalue: null,
      forceFormat: true,
      format: 'idcard',
      inputtype: 'input',
      placeholder: '请输入',
      format_text_minlength: 0,
      format_text_maxlength: 10,
    },
    __answer__: {
      value: null
    }
  },
  {
    __config__: {
      label: '性别',
      csmtype: 'question-radio-group-sex',
      tag: 'question-radio-group',
      tagIcon: 'select',
      layout: 'colFormItem',
    },
    csmwjtitle: {
      value: '您的性别',
    },
    csmwjrequired: {
      value: true,
    },
    csmwjoptions: {
      options: [{
        value: '男',
      }, {
        value: '女',
      }]
    },
    __answer__: {
      value: null
    }
  },
  {
    __config__: {
      label: '年龄段',
      csmtype: 'question-radio-group-agegroup',
      tag: 'question-radio-group',
      tagIcon: 'select',
      layout: 'colFormItem',
    },
    csmwjtitle: {
      value: '您的年龄段',
    },
    csmwjrequired: {
      value: true,
    },
    csmwjoptions: {
      options: [{
        value: '18岁以下',
      }, {
        value: '18~24',
      }, {
        value: '25~30',
      }, {
        value: '31~40',
      }, {
        value: '41~50',
      }, {
        value: '51~60',
      }, {
        value: '60-70',
      }, {
        value: '70以上',
      }]
    },
    __answer__: {
      value: null
    }
  },
  {
    __config__: {
      label: '学历',
      csmtype: 'question-radio-group-education',
      tag: 'question-radio-group',
      tagIcon: 'select',
      layout: 'colFormItem',
    },
    csmwjtitle: {
      value: '您的学历',
    },
    csmwjrequired: {
      value: true,
    },
    csmwjoptions: {
      options: [{
        value: '初中及以下',
      }, {
        value: '高中/中专',
      }, {
        value: '大学专科',
      }, {
        value: '大学本科',
      }, {
        value: '研究生',
      }, {
        value: '博士及以上',
      }]
    },
    __answer__: {
      value: null
    }
  },
  {
    __config__: {
      label: '婚姻状况',
      csmtype: 'question-radio-group-marriage',
      tag: 'question-radio-group',
      tagIcon: 'select',
      layout: 'colFormItem',
    },
    csmwjtitle: {
      value: '您的婚姻状况',
    },
    csmwjrequired: {
      value: true,
    },
    csmwjoptions: {
      options: [{
        value: '未婚',
      }, {
        value: '已婚',
      }, {
        value: '离异',
      }]
    },
    __answer__: {
      value: null
    }
  },
];

// 输入型组件 【左面板】
export const inputComponents = [{
    // 组件的自定义配置
    __config__: {
      label: '单行文本',
      labelWidth: null,
      showLabel: true,
      changeTag: true,
      tag: 'el-input',
      tagIcon: 'input',
      defaultValue: undefined,
      required: true,
      layout: 'colFormItem',
      span: 24,
      document: 'https://element.eleme.cn/#/zh-CN/component/input',
      // 正则校验规则
      regList: []
    },
    // 组件的插槽属性
    __slot__: {
      prepend: '',
      append: ''
    },
    // 其余的为可直接写在组件标签上的属性
    placeholder: '请输入',
    style: {
      width: '100%'
    },
    clearable: true,
    'prefix-icon': '',
    'suffix-icon': '',
    maxlength: null,
    'show-word-limit': false,
    readonly: false,
    disabled: false
  },
  {
    __config__: {
      label: '多行文本',
      labelWidth: null,
      showLabel: true,
      tag: 'el-input',
      tagIcon: 'textarea',
      defaultValue: undefined,
      required: true,
      layout: 'colFormItem',
      span: 24,
      regList: [],
      changeTag: true,
      document: 'https://element.eleme.cn/#/zh-CN/component/input'
    },
    type: 'textarea',
    placeholder: '请输入',
    autosize: {
      minRows: 4,
      maxRows: 4
    },
    style: {
      width: '100%'
    },
    maxlength: null,
    'show-word-limit': false,
    readonly: false,
    disabled: false
  },
  {
    __config__: {
      label: '密码',
      showLabel: true,
      labelWidth: null,
      changeTag: true,
      tag: 'el-input',
      tagIcon: 'password',
      defaultValue: undefined,
      layout: 'colFormItem',
      span: 24,
      required: true,
      regList: [],
      document: 'https://element.eleme.cn/#/zh-CN/component/input'
    },
    __slot__: {
      prepend: '',
      append: ''
    },
    placeholder: '请输入',
    'show-password': true,
    style: {
      width: '100%'
    },
    clearable: true,
    'prefix-icon': '',
    'suffix-icon': '',
    maxlength: null,
    'show-word-limit': false,
    readonly: false,
    disabled: false
  },
  {
    __config__: {
      label: '计数器',
      showLabel: true,
      changeTag: true,
      labelWidth: null,
      tag: 'el-input-number',
      tagIcon: 'number',
      defaultValue: undefined,
      span: 24,
      layout: 'colFormItem',
      required: true,
      regList: [],
      document: 'https://element.eleme.cn/#/zh-CN/component/input-number'
    },
    placeholder: '',
    min: undefined,
    max: undefined,
    step: 1,
    'step-strictly': false,
    precision: undefined,
    'controls-position': '',
    disabled: false
  },
  {
    __config__: {
      label: '编辑器',
      showLabel: true,
      changeTag: true,
      labelWidth: null,
      tag: 'tinymce',
      tagIcon: 'rich-text',
      defaultValue: null,
      span: 24,
      layout: 'colFormItem',
      required: true,
      regList: [],
      document: 'http://tinymce.ax-z.cn'
    },
    placeholder: '请输入',
    height: 300, // 编辑器高度
    branding: false // 隐藏右下角品牌烙印
  }
]

// 选择型组件 【左面板】
export const selectComponents = [{
    __config__: {
      label: '下拉选择',
      showLabel: true,
      labelWidth: null,
      tag: 'el-select',
      tagIcon: 'select',
      layout: 'colFormItem',
      span: 24,
      required: true,
      regList: [],
      changeTag: true,
      document: 'https://element.eleme.cn/#/zh-CN/component/select'
    },
    __slot__: {
      options: [{
        label: '选项一',
        value: 1
      }, {
        label: '选项二',
        value: 2
      }]
    },
    placeholder: '请选择',
    style: {
      width: '100%'
    },
    clearable: true,
    disabled: false,
    filterable: false,
    multiple: false
  },
  {
    __config__: {
      label: '级联选择',
      url: 'https://www.fastmock.site/mock/f8d7a54fb1e60561e2f720d5a810009d/fg/cascaderList',
      method: 'get',
      dataPath: 'list',
      dataConsumer: 'options',
      showLabel: true,
      labelWidth: null,
      tag: 'el-cascader',
      tagIcon: 'cascader',
      layout: 'colFormItem',
      defaultValue: [],
      dataType: 'dynamic',
      span: 24,
      required: true,
      regList: [],
      changeTag: true,
      document: 'https://element.eleme.cn/#/zh-CN/component/cascader'
    },
    options: [{
      id: 1,
      value: 1,
      label: '选项1',
      children: [{
        id: 2,
        value: 2,
        label: '选项1-1'
      }]
    }],
    placeholder: '请选择',
    style: {
      width: '100%'
    },
    props: {
      props: {
        multiple: false,
        label: 'label',
        value: 'value',
        children: 'children'
      }
    },
    'show-all-levels': true,
    disabled: false,
    clearable: true,
    filterable: false,
    separator: '/'
  },
  {
    __config__: {
      label: '单选框组',
      labelWidth: null,
      showLabel: true,
      tag: 'el-radio-group',
      tagIcon: 'radio',
      changeTag: true,
      defaultValue: undefined,
      layout: 'colFormItem',
      span: 24,
      optionType: 'default',
      regList: [],
      required: true,
      border: false,
      document: 'https://element.eleme.cn/#/zh-CN/component/radio'
    },
    __slot__: {
      options: [{
        label: '选项一',
        value: 1
      }, {
        label: '选项二',
        value: 2
      }]
    },
    style: {},
    size: 'medium',
    disabled: false
  },
  {
    __config__: {
      label: '多选框组',
      tag: 'el-checkbox-group',
      tagIcon: 'checkbox',
      defaultValue: [],
      span: 24,
      showLabel: true,
      labelWidth: null,
      layout: 'colFormItem',
      optionType: 'default',
      required: true,
      regList: [],
      changeTag: true,
      border: false,
      document: 'https://element.eleme.cn/#/zh-CN/component/checkbox'
    },
    __slot__: {
      options: [{
        label: '选项一',
        value: 1
      }, {
        label: '选项二',
        value: 2
      }]
    },
    style: {},
    size: 'medium',
    min: null,
    max: null,
    disabled: false
  },
  {
    __config__: {
      label: '开关',
      tag: 'el-switch',
      tagIcon: 'switch',
      defaultValue: false,
      span: 24,
      showLabel: true,
      labelWidth: null,
      layout: 'colFormItem',
      required: true,
      regList: [],
      changeTag: true,
      document: 'https://element.eleme.cn/#/zh-CN/component/switch'
    },
    style: {},
    disabled: false,
    'active-text': '',
    'inactive-text': '',
    'active-color': null,
    'inactive-color': null,
    'active-value': true,
    'inactive-value': false
  },
  {
    __config__: {
      label: '滑块',
      tag: 'el-slider',
      tagIcon: 'slider',
      defaultValue: null,
      span: 24,
      showLabel: true,
      layout: 'colFormItem',
      labelWidth: null,
      required: true,
      regList: [],
      changeTag: true,
      document: 'https://element.eleme.cn/#/zh-CN/component/slider'
    },
    disabled: false,
    min: 0,
    max: 100,
    step: 1,
    'show-stops': false,
    range: false
  },
  {
    __config__: {
      label: '时间选择',
      tag: 'el-time-picker',
      tagIcon: 'time',
      defaultValue: null,
      span: 24,
      showLabel: true,
      layout: 'colFormItem',
      labelWidth: null,
      required: true,
      regList: [],
      changeTag: true,
      document: 'https://element.eleme.cn/#/zh-CN/component/time-picker'
    },
    placeholder: '请选择',
    style: {
      width: '100%'
    },
    disabled: false,
    clearable: true,
    'picker-options': {
      selectableRange: '00:00:00-23:59:59'
    },
    format: 'HH:mm:ss',
    'value-format': 'HH:mm:ss'
  },
  {
    __config__: {
      label: '时间范围',
      tag: 'el-time-picker',
      tagIcon: 'time-range',
      span: 24,
      showLabel: true,
      labelWidth: null,
      layout: 'colFormItem',
      defaultValue: null,
      required: true,
      regList: [],
      changeTag: true,
      document: 'https://element.eleme.cn/#/zh-CN/component/time-picker'
    },
    style: {
      width: '100%'
    },
    disabled: false,
    clearable: true,
    'is-range': true,
    'range-separator': '至',
    'start-placeholder': '开始时间',
    'end-placeholder': '结束时间',
    format: 'HH:mm:ss',
    'value-format': 'HH:mm:ss'
  },
  {
    __config__: {
      label: '日期选择',
      tag: 'el-date-picker',
      tagIcon: 'date',
      defaultValue: null,
      showLabel: true,
      labelWidth: null,
      span: 24,
      layout: 'colFormItem',
      required: true,
      regList: [],
      changeTag: true,
      document: 'https://element.eleme.cn/#/zh-CN/component/date-picker'
    },
    placeholder: '请选择',
    type: 'date',
    style: {
      width: '100%'
    },
    disabled: false,
    clearable: true,
    format: 'yyyy-MM-dd',
    'value-format': 'yyyy-MM-dd',
    readonly: false
  },
  {
    __config__: {
      label: '日期范围',
      tag: 'el-date-picker',
      tagIcon: 'date-range',
      defaultValue: null,
      span: 24,
      showLabel: true,
      labelWidth: null,
      required: true,
      layout: 'colFormItem',
      regList: [],
      changeTag: true,
      document: 'https://element.eleme.cn/#/zh-CN/component/date-picker'
    },
    style: {
      width: '100%'
    },
    type: 'daterange',
    'range-separator': '至',
    'start-placeholder': '开始日期',
    'end-placeholder': '结束日期',
    disabled: false,
    clearable: true,
    format: 'yyyy-MM-dd',
    'value-format': 'yyyy-MM-dd',
    readonly: false
  },
  {
    __config__: {
      label: '评分',
      tag: 'el-rate',
      tagIcon: 'rate',
      defaultValue: 0,
      span: 24,
      showLabel: true,
      labelWidth: null,
      layout: 'colFormItem',
      required: true,
      regList: [],
      changeTag: true,
      document: 'https://element.eleme.cn/#/zh-CN/component/rate'
    },
    style: {},
    max: 5,
    'allow-half': false,
    'show-text': false,
    'show-score': false,
    disabled: false
  },
  {
    __config__: {
      label: '颜色选择',
      tag: 'el-color-picker',
      tagIcon: 'color',
      span: 24,
      defaultValue: null,
      showLabel: true,
      labelWidth: null,
      layout: 'colFormItem',
      required: true,
      regList: [],
      changeTag: true,
      document: 'https://element.eleme.cn/#/zh-CN/component/color-picker'
    },
    'show-alpha': false,
    'color-format': '',
    disabled: false,
    size: 'medium'
  },
  {
    __config__: {
      label: '上传',
      tag: 'el-upload',
      tagIcon: 'upload',
      layout: 'colFormItem',
      defaultValue: null,
      showLabel: true,
      labelWidth: null,
      required: true,
      span: 24,
      showTip: false,
      buttonText: '点击上传',
      regList: [],
      changeTag: true,
      fileSize: 2,
      sizeUnit: 'MB',
      document: 'https://element.eleme.cn/#/zh-CN/component/upload'
    },
    __slot__: {
      'list-type': true
    },
    action: 'https://jsonplaceholder.typicode.com/posts/',
    disabled: false,
    accept: '',
    name: 'file',
    'auto-upload': true,
    'list-type': 'text',
    multiple: false
  }
]

// 布局型组件 【左面板】
export const layoutComponents = [{
    __config__: {
      layout: 'rowFormItem',
      tagIcon: 'row',
      label: '行容器',
      layoutTree: true,
      document: 'https://element.eleme.cn/#/zh-CN/component/layout#row-attributes'
    },
    type: 'default',
    justify: 'start',
    align: 'top'
  },
  {
    __config__: {
      label: '按钮',
      showLabel: true,
      changeTag: true,
      labelWidth: null,
      tag: 'el-button',
      tagIcon: 'button',
      span: 24,
      layout: 'colFormItem',
      document: 'https://element.eleme.cn/#/zh-CN/component/button'
    },
    __slot__: {
      default: '主要按钮'
    },
    type: 'primary',
    icon: 'el-icon-search',
    round: false,
    size: 'medium',
    plain: false,
    circle: false,
    disabled: false
  },
  {
    __config__: {
      layout: 'colFormItem',
      tagIcon: 'table',
      tag: 'el-table',
      document: 'https://element.eleme.cn/#/zh-CN/component/table',
      span: 24,
      formId: 101,
      renderKey: 1595761764203,
      componentName: 'row101',
      showLabel: true,
      changeTag: true,
      labelWidth: null,
      label: '表格[开发中]',
      dataType: 'dynamic',
      method: 'get',
      dataPath: 'list',
      dataConsumer: 'data',
      url: 'https://www.fastmock.site/mock/f8d7a54fb1e60561e2f720d5a810009d/fg/tableData',
      children: [{
        __config__: {
          layout: 'raw',
          tag: 'el-table-column',
          renderKey: 15957617660153
        },
        prop: 'date',
        label: '日期'
      }, {
        __config__: {
          layout: 'raw',
          tag: 'el-table-column',
          renderKey: 15957617660152
        },
        prop: 'address',
        label: '地址'
      }, {
        __config__: {
          layout: 'raw',
          tag: 'el-table-column',
          renderKey: 15957617660151
        },
        prop: 'name',
        label: '名称'
      }, {
        __config__: {
          layout: 'raw',
          tag: 'el-table-column',
          renderKey: 1595774496335,
          children: [{
            __config__: {
              label: '按钮',
              tag: 'el-button',
              tagIcon: 'button',
              layout: 'raw',
              renderKey: 1595779809901
            },
            __slot__: {
              default: '主要按钮'
            },
            type: 'primary',
            icon: 'el-icon-search',
            round: false,
            size: 'medium'
          }]
        },
        label: '操作'
      }]
    },
    data: [],
    directives: [{
      name: 'loading',
      value: true
    }],
    border: true,
    type: 'default',
    justify: 'start',
    align: 'top'
  }
]




// {
//   __config__: {
//     label: '判断题',
//     csmtype:'question-rightorwrong',
//     tag: 'question-radio-group',
//     tagIcon: 'radio',
//     layout: 'colFormItem',
//     csmwjtitle:true,
//     csmwjimages:true,
//     csmwjrequired:true,
//     csmwjoptions:true,
//     csmwjshowscore:true,
//   },
//   __slot__: {
//     options: [{
//       value: '是'
//     }, {
//       value: '否'
//     }]
//   },
//   csmwjtitle:{
//     value:'请选择一个选项',
//   },
//   csmwjrequired: {
//     value: true,
//   },
//   csmwjimages:{
//     value:[],//{name:'xx',url:'xxx'}
//   },
//   csmwjshowscore:{
//     value:null,
//     method:null,
//     oneanswer:{
//       score:null,
//       answer:null,
//     },
//     analysis:null,
//     showscore:null
//   },
//   __answer__:{value:null,text:null}
// },
// {
//   __config__: {
//     label: '打分题',
//     csmtype:'question-score',
//     tag: 'question-radio-group',
//     tagIcon: 'radio',
//     layout: 'colFormItem',
//     csmwjtitle:true,
//     csmwjimages:true,
//     csmwjrequired:true,
//     csmwjPlusOptionAndScore:true,
//   },
//   __slot__: {
//     options: [{
//       value:'非常满意',
//       score: '5'
//     },{
//       value:'较满意',
//       score: '4'
//     },{
//       value:'一般',
//       score: '3'
//     },{
//       value:'比较不满意',
//       score: '2'
//     },{
//       value:'很不满意',
//       score: '1'
//     }]
//   },
//   csmwjtitle:{
//     value:'请选择一个选项',
//   },
//   csmwjrequired: {
//     value: true,
//   },
//   csmwjimages:{
//     value:[],//{name:'xx',url:'xxx'}
//   },
//   csmwjshowscore:{
//     value:true,
//     method:'everyscore',
//     oneanswer:{
//       score:null,
//       answer:null,
//     },
//     analysis:null,
//     showscore:true
//   },
//   __answer__:{value:null,text:null}
// },
